﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title></title>
    <link href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
    <script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
</head>
<body>
    <a onclick="showMsg()"></a>
    <div id="lblMsg">cc </div>
    <div id="wrap">
        <ul>
            <li>1</li>
            <li>2</li>
            <li>3</li>
            <li>4</li>
            <li>5</li>
        </ul>
    </div>
    <select id="single">
        <option value="Single2">Single</option>
        <option>Single2</option>
    </select>
    <select id="multiple" multiple="multiple">
        <option selected="selected">Multiple</option>
        <option>Multiple2</option>
        <option selected="selected">Multiple3</option>
    </select><br />
    <input type="checkbox" value="check1" name="n1" /> check1
    <input type="checkbox" value="check2" name="n1" /> check2
    <input type="radio" value="radio1" name="n2" /> radio1
    <input type="radio" value="radio2" name="n2" dada-v="1" checked/> radio2
    <script>
        $(function () {

            var cc = $(":radio").prop("checked");

            $("#single").val("Single2");
            $("#multiple").val();
            $("input").val(["check2", "radio1"]);


        });
        function showMsg() {
        }
    </script>
</body>
</html>